<div class='div_h2'>
	<div class='div_content'>
		<h2>Jéromedu55</h2>
	</div>
	<div class='div_option'>
		<span class="fr action icon_20 distate close" action="closeFooterModule"></span>
	</div>
</div>
<div id='div_tchatCurrentTalkList'>
	<span class='action icon_20 opencloseArrow up distate m_5 fl' action='moveTalkList' option='up'></span>
	
	<span class='talkItem action actif icon_20 p_2 m_2 fl' action='openTalk' talkTo='317'>
		<img src="http://localhost/weebeet.com/wp-content/themes/toolbox/style/generic/images/users/default.png">
	</span>
	<span class='talkItem action open icon_20 p_2 m_2 fl' action='openTalk' talkTo='11'>
		<img src="http://localhost/weebeet.com/wp-content/themes/toolbox/style/generic/images/users/default.png">
	</span>
	<span class='talkItem action icon_20 p_2 m_2 fl' action='openTalk' talkTo='51'>
		<img src="http://localhost/weebeet.com/wp-content/themes/toolbox/style/generic/images/users/default.png">
	</span>
	
	<span class='action icon_20 opencloseArrow down distate m_5 fl' action='moveTalkList' option='down'></span>
</div>
<div id='div_tchatRight'>
	<div id='div_tchatInputMessage'>
		<textarea></textarea>
	</div>
	<div id='div_tchatTalkContent' talkTo=''>
		
	</div>
	<div id='div_tchatViewMore'>
		<a href='' class='fr c_7 p_5'>voir toutes les discussions</a>
	</div>
</div>

<script type="text/javascript">
function updateTalkContent(){
	var talkTo = $j("#div_tchatTalkContent").attr('talkTo');
	var target = $j("#div_tchatTalkContent");
	$j.ajax({
		type : "POST",
		url : "<?php bloginfo('template_url'); ?>/ajax/getContent.php",
		data : "functionName=getTalkContent&talkTo="+talkTo,
		success:function(response){
			target.attr('talkTo', talkTo);
			target.html(response);
			actionSpan.addClass('open');
		}
	});
}
clearInterval(updateInterval);
var updateInterval = setInterval("updateTalkContent()",5000);
</script>